package 设计模式.适配器模式;
//组合 对象适配器 常用
public class AdaptNet2 implements NetToUsb{
    private Adapter adapter;

    public AdaptNet2(Adapter adapter) {
        this.adapter = adapter;
    }

    @Override
    public void handleRequest() {
        adapter.request();
    }
}
